package com.his.dictorderfreq.service;

import com.his.dictorderfreq.entity.DictOrderFreq;
import com.his.dictorderfreq.vo.OrderFreqSaveVo;
import com.his.dictorderfreq.vo.OrderFreqVo;
import com.his.login.entity.DictEmployee;

import java.util.List;

/**
 * @Author xiaoxiaoping
 * @Date 2020/2/6 11:42
 * @Version 1.0
 */
public interface DictOrderFreqService {
    //全量插入
    void insert(OrderFreqVo orderFreqVo);
    //根据主键删除
    void deleteByKey(OrderFreqVo orderFreqVo);
    //非空列动态查询
    List<DictOrderFreq> queryAll(DictEmployee dictEmployee);
    //根据主键更新数据
    void updateById(OrderFreqVo orderFreqVo);

    void savAll(DictEmployee dictEmployee, OrderFreqSaveVo orderFreqSaveVo);

    DictOrderFreq selectByFreqId(DictEmployee dictEmployee,String freqId);
}
